<?php

namespace App\Http\Controllers\Api\V3;

use App\Common\ApiData;
use App\Models\V1\CloMemberInfo;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class CloMemberInfoController extends BaseController
{
    protected $clo;
    protected $apiData;

    public function __construct(CloMemberInfo $clo, ApiData $apiData)
    {
        $this->clo = $clo;
        $this->apiData = $apiData;
    }

    public function index(Request $request)
    {
        return $this->apiData->set_data('clo_member_info', $this->clo->get_member_info($request))->send(200, '成功');
    }
}
